import { getRequest, postRequest, putRequest, deleteRequest } from '@/utils/request';
/**
 * 保养计划*/
// 创建
export const machineManagerUpkeepPlanCreate = (data) => postRequest('/machinemanager/upkeep-plan/create', data);
// 更新
export const machineManagerUpkeepPlanUpdate = (data) => putRequest('/machinemanager/upkeep-plan/update', data);

// 删除
export const machineManagerUpkeepPlanDelete = (params) => deleteRequest('/machinemanager/upkeep-plan/delete', params);

// 获得
export const machineManagerUpkeepPlanGet = (params) => getRequest('/machinemanager/upkeep-plan/get', params);

// 分页
export const machineManagerUpkeepPlanPage = (params) => getRequest('/machinemanager/upkeep-plan/page', params);
